﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.Logic
{
    public interface ISequenceManager
    {
        public bool IsRunning { get;}  // 是否运行
        public bool IsStop { get;} // 是否停止/结束
        public bool IsPause { get;} // 是否暂停
        /// <summary>
        /// 开始
        /// </summary>
        public void Start();
        /// <summary>
        /// 停止/结束
        /// </summary>
        public void Stop();
        /// <summary>
        /// 暂停
        /// </summary>
        public void Pause();
        /// <summary>
        /// 继续/恢复
        /// </summary>
        public void Resume();
        /// <summary>
        /// 中断标志/等待继续
        /// </summary>
        public void WaitOne();
    }
}
